# $Id$
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=streamripper
pkgver=1.64.6
pkgrel=3
pkgdesc="Records and splits streaming mp3 into tracks"
arch=('i686' 'x86_64')
url="http://streamripper.sourceforge.net"
license=('GPL')
depends=('glib2' 'libmad' 'faad2' 'libvorbis')
source=(http://downloads.sourceforge.net/sourceforge/streamripper/streamripper-${pkgver}.tar.gz)
sha1sums=('bc8a8d3ad045e0772ca691d2063c39efcc0dca45')

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="$pkgdir" install
}
